from gittip import AMOUNTS from gittip.models import Participant ^L participant = Participant.query.get(path['participant_id']) if user.ANON: button_text = "Gittip" elif user.id == participant.id: button_text = "You!" else: button_text = user.get_tip_to(participant.id) if button_text == 0: button_text = "Gittip" ^L